﻿using Microsoft.Extensions.Configuration;

namespace ENNote.Common
{
    public static class MyConfig
    {
        public static IConfiguration config = new ConfigurationBuilder()
            .SetBasePath(System.Environment.CurrentDirectory)
            .AddJsonFile("config.json", false, true).Build();

        public static string username = config.GetValue("username", "");
        public static string foldername = config.GetValue("foldername", "");
        public static string password = config.GetValue("password", "");


        public static string localData = "local-data";
    }
}
